package com.neusoft.weekreport;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling
@MapperScan("com.neusoft.weekreport.mapper")
@ComponentScans({@ComponentScan(basePackages = "com.neusoft.weekreport.component")})
public class WeekReportApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeekReportApplication.class, args);
        System.setProperty("mail.mime.splitlongparameters","false");
    }

}
